#include <stdio.h>

int main(void)
{
    //常量指针可以指向常量和变量
    //const double PI = 3.14;
    double PI = 3.14;
    double height=165.5;
    //PI=66.88;
    const double *ptr1=&PI;
    ptr1=&height;
    //*ptr1=66.88;
    printf("*ptr1:%.2f\n",*ptr1);
    return 0;
}